
const { override,addDecoratorsLegacy, fixBabelImports, addLessLoader } = require('customize-cra');

process.env.GENERATE_SOURCEMAP = "false";

module.exports = override(
  addDecoratorsLegacy(),
  fixBabelImports('import', {
    libraryName: 'antd',
    libraryDirectory: 'es',
    style: true,
  }),
  addLessLoader({
    javascriptEnabled: true,
    modifyVars: { '@primary-color': '#5482ba' },
  }),
);